
public class WhileLoopHW {

	public static void main(String[] args) {
		// To print numbers 1 to 10 using while loop.
		
		int i=1;
		while(i<11){
			
			System.out.println(i);
			i=i+1;
		}
		
		
	}

}
